package pro.spring.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pro.spring.inter.SwitchMapper;
@Service
public class SwitchService{

	@Autowired
	private SwitchMapper SwitchMapper;
	

	public Integer selectType() {
		return SwitchMapper.selectType();
	}

	public int switchOpen() {
		return SwitchMapper.switchOpen();
	}
	
	public int switchClose() {
		return SwitchMapper.switchClose();
	}
	
}
